and improve the existing -getinfo -rpcwallet tests.
This concludes the backport of Core [[https://github.com/bitcoin/bitcoin/pull/18594 | PR18594]] [6/6]
https://github.com/bitcoin/bitcoin/pull/18594/commits/5edad5ce5d3f15b694bf3fad0300c6446674b554
Depends on D9241