monero-wallet-cli: using a config file with "password=" is causing inactivity lock to misbehave, unable to unlock
v0.18.3.2 for armv7

reproduce :

`./monero-wallet-cli --config-file file.cfg`

`password=<password>` set in `file.cfg`

The wallet startup works fine but then, either wait for the inactivity lock or just type `lock`

Your console will be spammed endlessly, multiple times per second, no chance to input anything :

```
The wallet password is required to unlock the console.
Wallet password: Error: failed to read wallet password
```
