XWIKI-10386: Login "validation" cookie still not marked as Secure
Fixed.

(cherry picked from commit fd1b5b4c059f4a34d2f4b44fee6c03e004b7943c)