Update to handle `--rpc-secret` correctly.