restore cookie max_age