add autoload cookies
Merge pull request #17 from kljohann/patch-1

add autoload cookies