Improve cookie handling
Merge pull request #55 from trecouvr/trecouvr/improve_cookie_handling

Improve cookie handling