Merge pull request #145 from alastairs/fix-cookie-end-date

Fix #142: fix cookie end date