fix for cookie relogin