Avoid creating cookie with overly broad domain (AngularJS) | CAST Appmarq