XWIKI-10108: When a user is invited into a wiki where she does not have view right, the wiki is not listed in the Wiki Index for her

* Fix failing build by removing tests that was introduced in 6.0 and that could not work in 5.4.x.