XWIKI-10328: Authentication cookies should be marked as Secure
Done

(cherry picked from commit 9e82082b043b70c90f582c8ee56dad99310413c8)