Add GetAuthCredentials to support basic authentication

I've added support to GetAuthCredentials in order to support basic authentication, this might help to bypass proxy settings that requires credentials as well