add auth_type to the config, document it. (current supported types: basic, digest)
fix test broken by the earlier verify_ssl_cert check in
Merge pull request #2 from goodwillcoding/master

add auth_type to the config, document it. (current supported types: basic, digest)