#4: UTF-8 encode passwd only when set
Merge pull request #5 from charles-dyfis-net/issues/4

UTF-8 encode passwd only when set (fixes: #4)