fix cookie strategy to work with for all subdomains

Cookie strategy will save change across subdomains. 
This time it doesn't blow up build.