add option base_uri to allow localhost in basic auth