XWIKI-9679: Apostrophe in user name generates invalid profile title
* Found some places where the user name is escaped twice.