Avoid NPE on null password
Unit tests with empty passwords
Merge pull request #82 from abstractj/password

Avoid NPE on null password