Authentication with Facebook partially working