Fixed OAuth2 broken authentication