Fixed a login flow error with Facebook.