Fixed a possible explosion of cookies because of where the cookies were defined
including a local test setup with gulp