(#869) - Set cookie headers via document.cookie