Avoid creating cookie without setting httpOnly option (TypeScript) | CAST Appmarq