Fix on the cookie management - change the cookie date for invalidating the cookie.