XWIKI-10328: Authentication cookies should be marked as Secure
Done
[misc] Improved codestyle
XWIKI-10329: When removing authentication cookies, the actual password shouldn't be sent again as the cookie value
Done.