set expires-attribute for cookies

Internet Explorer needs the expires-attribute to be present in order to make the cookies persistent.
Merge pull request #37 from dsheyp/patch-1

set expires-attribute for cookies