Backward compatibility for UserPasswordValidator