auth = TRUE
Add basic authorization headers if auth = TRUE
req_add_auth_if_needed(req, auth, username, password)