XWIKI-9622: Users are not properly authenticated on subwikis on first page load on domain based multiwiki