[Misc] Remove unused code
XWIKI-11120: When reset password fails to send an email no detailed explanation about the problem is displayed