Bug 25068: Adding max-age and secure attributes to cookie