XWIKI-11236: Bad handling of sdoc in DefaultContextualAuthorizationManager
* add test