Minor change to how OauthConfig is injected.