Switched the parsing of htpasswd files to use passlib. 

 This pull request fixes #7