Correct redirection after social login.