tests for OAuthProvider configuration