Define isAuthenticationPolicyEnabled API and use it respectively.
Ivan Tyagov authored
Allow low level password validity checks (if
isAuthenticationPolicyEnabled only).
Adjust tests to handle better password history.
238be699