Avoid having cookie with an overly broad domain (TypeScript) | CAST Appmarq