Cookie expiry optimizations