Update FB login logic to fix auth error.