oauth-provider-authentication fix