Issue 49761 - Fix CI test suite issues
Description:
Fix various test issues on RHEL7 and RHEL8:
* systemd on RHEL7 doesn't have --value option.
Drop --value option and parse the output manually.
* Use newer BDB config only on 1.4.2+.
* Skip tests/suites/password/pbkdf2_upgrade_plugin_test.py on <1.4.1.
* Unhashed passwords are not logged by default only on 1.4.1.6+.
* String literal comparison doesn't work with double digits,
i.e. '1.3.10.1' > '1.3.2.1' returns False.
Use packaging.version to compare versions.
* Don't use nsAccount objectClass on versions <=1.4.x.
* Update skipif/xfail version to match downstream versions too.
Relates: https://pagure.io/389-ds-base/issue/49761
Reviewed by: firstyear (Thanks!)