remove dev subdomain too
better regex matching
Merge pull request #2698 from guardian/cookie-domain

Remove dev subdomain when setting cookies