add basic auth to UA mode of sending request.