OPH-626: Set cookie secure flag when not in development-mode.