Fix issue#20, bad handshake.

This issue is caused by old password using, but no diagnosis information gives out.