XWIKI-10410: Add a new authorization manager component that take care of external context

- Add mock and accessor of ContextualAuthorizationManager and AuthorizationManager to AbstractBridgedComponentTestCase and AbstractXWikiComponentTestCase to avoid issues with test that may indirectly need it.