XWIKI-9190: Document reference is not properly resolved in the new security system bridge (XWikiCachingRightService)