added a better error catch when html is returned from an auth call
Removed the json dependency from the git file
Merge pull request #74 from kiwiupover/throw-better-errors

Added a better error catch when html is returned from an auth call