fix: pass only one password to server

fix #5
Merge pull request #8 from zhuangya/issue-5

fix: pass only one password to server