XWIKI-8951: Support null user and null entity in the new security authorization module

 - fix log messages