When I use the $httpRequest->getUrl()->getAbsoluteUrl() on website on nginx with restricted basic authorization
(auth_basic_user_file directive with a path to the .htpasswd file) it returns the path with the login and unhashed password from the file.
user1:$apr1$/woC1jnP$KAh0SsVn5qeSMjTtn0E9Q0
"https://user1:[email protected]"