Fixed configuration for oauth2 login.