Make cookie domain configurable
Since GitLab gets deployed to self managed instances, we want to be conservative when setting cookies and make it configurable depending on our environment (self managed or .com).
While we will not deploy experiments to self managed instances yet, we should be strict here upfront since we already faced an issue gitlab-org/gitlab!30303 (merged) once.
Edited by Nicolas Dular