Recognise subpaths of urls ending in /
Merge pull request #5 from dcorbacho/cookie-fix

Recognise subpaths of urls ending in /