Fixes to Facebook OAuth login process