cookie reauthentification fix