more fixes to get the cookie on login to set for longer than 8 hrs it seems