Allow overriding the OAuthToken class.

By extracting the creation of the OAuthToken class in a separate method of the OAuthProvider.