Uses new cookies for persistence.
Merge pull request #36 from jmeas/new-cookies

Uses new cookies for persistence.