Issue:50860 - Port Password Policy test cases from TET to python3 part2
Bug Description: CI test - Port Password Policy test cases from TET to python3 part2
Relates: https://pagure.io/389-ds-base/issue/50860
Author: aborah
Reviewed by: Viktor Ashirov