:- use_module(library(http/http_open)). [det]http_set_authorization(+URL, 
+Authorization)
[det]http_set_authorization(+URL, 
+Authorization)-, possibly 
defined authorization is cleared. For example:
?- http_set_authorization('http://www.example.com/private/',
                          basic('John', 'Secret'))