Fix #18131

The url password gathering was not fixed for requests

Fix #18131