Fixed cookie expiration error.