Fix DI injection of the OAuthTokenFactory.