fix login with social networks.