Added logging in ProviderSignInController and made callback URL specification more flexible.