changing the timeout for the validity of the cookie