When using sparql_client with authorization, once the results have been consumed another request is made without the authorization, resulting in a 401 response and error. This prevents SPARQL queries that exhaust the results.
The cause is a choice-point left in http_open/3 when using authorization. Not back-tracking into http_open/3 will resolve the issue.