adds test for fetching via basic auth