XWiki-6882 : Improvements on user changing password. Remove depreceated call