fixes to facebook sign-in, profiles, integration tests