Some fixes in facebook login.