s3-passdb: Convert lm_pw and nt_pw to python string using length