XWIKI-9437: Fully allow using XWiki when cookies are turned off
* Fix regression brought by previous commit for this issue