Fixed crash on user login when not setting password, added name cookie to invite page