Fixed cookie parsing issue with incompatable max_age