Added base path to store cookie
Applied feedback
Taking into account different types of requests
Merge pull request #17 from RWOverdijk/hotfix/cookie-detector

Added base path to store cookie