XWIKI-9437: Fully allow using XWiki when cookies are turned off
* Fix broken test