This is a follow-up PR to address review feedback from https://github.com/bitcoin/bitcoin/pull/29858
- add case where rpcwhitelistdefault setting is unset
- Code cleanup , change password and f-string formatting
- Combine rpcwhitelistdefault tests into
test_rpcwhitelistdefault_permissions
I am not sure if my approach of addingtest_rpcwhitelistdefault_unset
is better or if I should just include the assertions in the existingtest_rpcwhitelistdefault_permissions