Fixed bug with login not setting modhash header