bug fix in cookie behavior
Merge pull request #9 from spderosso/master

bug fix in cookie behavior