get the basic auth from the request