@classmethod
def get_login_available(cls, settings):
    """Whether this LoginHandler is needed - and therefore whether the login page should be displayed."""
    return bool(cls.password_from_settings(settings) or settings.get('token'))
