Switch to set_auth on httpclient to not use deprecated method