Fixed login handler's scopes