Issue #3193793 by cgoffin, nginex, L_VanDamme, Radelson, gilles_webstanz, saso.sotlar: Add option to set cookie client side
Closes #3193793