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

(cherry picked from commit fe26a0f4ade7a52eca65178c34d6fa59af5ebfde)

Conflicts:
	xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrSearch.xml