Re-add sha1hash for password

Re-add the sha1hash calculation on the password, and use this as the
password in basic HTTP auth, as per the api documentation.
Merge pull request #55 from nate1280/sha1hash_in_auth

Re-add sha1hash for password