This adds the functionality to specify a custom password to `rpcauth.py`, as well as makes the code (IMO) easier to understand.
refs #12995