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