Please review (regression): [389 Project] #48228: wrong password check if passwordInHistory is decreased.