password length fix

Here is a fix for password length optional parameter
Merge pull request #201 from temirov/patch-1

password length fix