Fix #18131

The url password gathering was not fixed for requests
Merge pull request #18343 from thatch45/requests_crazy

Fix #18131