Issue #198: Added check to see if the client's password exist
Issue #198: Both algo and hash need to be set
Issue #198: Fixed the tests (client's were missing algo fields)
Merge pull request #199 from jembi/invalid-client-bug

Issue #198: Added check to see if the client's password exist