XWiki-6472 : Fix the way Invitation.InvitationMailClass and Invitation.WebHome are displayed in XWiki.XWikiClasses for normal and unregistered users. Fixing with the new model.