Issue #3314234 by mediabounds, gabrieldv, jfurnas: Password history policy shows confusing error message when history_repeats is set to 0