CLDIDE-2160 Used OAuth related code from security. CLDIDE-2182 Make OAuth based CredentialsProviders take user from OAuthAuthenticator