basic_auth was not adding Authorization heaader

When setting the basic_auth info in the hash, it version 2 of the gem is not altering the request header, and thus having no effect.   Here's my fix for the basic auth.  (Other auth methods haven't been tested)

-Sidney