Fix lostpassword mail when password policy contains special chars.