XWIKI-6882 : Improvements on user changing password. Get rid of groovy for checking passwords.