fix basic_auth for net-http-persistent