Fix the cookie timeout