Fixed the registration issues with Google and Facebook.