refactored check_password_new for more flexible argument input.
refactored check_password_new for more flexible argument input.

Signed-off-by: Ben <e6fb06210fafc02fd7479ddbed2d042cc3a5155e@benhunter.me>

benhunter/py-stuff,benhunter/py-stuff,benhunter/py-stuff