Add support for -username/-password flags for basic auth

[#83530566]