XWIKI-8986: Register right could not be denied in sub-wikis once allowed by the main wiki

 - fixing tests