Fixed issues with PHPASS authentication

This closes #20.
Base64 encode/decode the hash solves the issue as the PHPASS hash
contains invalid HTTP characters.