Please correct me if I'm wrong.
HTTPS will encrypt the URL, but the DNS lookup is in clear. So the "username:password@example.com" part will be sniffable/loggable.
http://stackoverflow.com/questions/499591/are-https-urls-enc...
http://stackoverflow.com/questions/499591/are-https-urls-enc...
The username and password are sent in the "Authorization" HTTP header, which will be encrypted.