XWIKI-11383: nullpointer when importing the XE all in one XAR with a user not having admin right anymore after the import

(cherry picked from commit 6c7bf9761d85a13f3061678e801a0ad1c8a24738)