FBCrypt fixes and sessions fix