Workaround for firebase-facebook-authentication-race-condition bug.