Fix issue with cookies expiring.