monerod: rpc_request fails when rpc-login set
v0.18.3.2 broke sending rpc_request with `monerod [daemon_command]` when `rpc-login` is set in `bitmonero.conf`. Issue is on the client side, curl requests to the daemon still work.

```bash
$ monerod --stagenet status
2024-03-10 21:34:39.273	I Monero 'Fluorine Fermi' (v0.18.3.2-release)
2024-03-10 21:34:39.276	E Client has incorrect username/password for server requiring authentication
2024-03-10 21:34:39.276	I Failed to invoke http request to  /getinfo
Error: Problem fetching info-- rpc_request: 


# Still works with curl!
$ curl --digest -u usr:pw --json '{"jsonrpc":"2.0", "id":"0", "method":"get_info"}' http://127.0.0.1:38081/json_rpc
{
  "id": "0",
  "jsonrpc": "2.0",
  "result": {
    "adjusted_time": 1710105095,
    "alt_blocks_count": 0,
    "   <snip>   ": 69,
    "version": "0.18.3.2-release",
    "was_bootstrap_ever_used": false,
    "white_peerlist_size": 49,
    "wide_cumulative_difficulty": "0x5617c07e23",
    "wide_difficulty": "0x124b23e"
  }
}

# Old monerod (v0.18.3.1) --to--> new monerod (v0.18.3.2) also works
$ ./monerod.old --stagenet status
2024-03-10 21:34:43.652	I Monero 'Fluorine Fermi' (v0.18.3.1-release)
Height: 1563499/1563499 (100.0%) on stagenet, not mining, net hash 159.74 kH/s, v16, 12(out)+26(in) connections, uptime 0d 1h 14m 38s
```

Related?
https://github.com/monero-project/monero/commit/e0b2123c324ae80177fd7c6b0516a9f8840803d9

**Edit:** It seems to happen **only when rpc-login is set** in the `bitmonero.conf`. No issues when no auth is used.