Authenticates the current console session to allow private RPC APIs to be called from the console environment. Internally, it acquires a session via admin_auth endpoint, caches the session token and sets it on every JSON-RPC requests.
The RPC username.
The RPC password.
If the password argument is omitted, an interactive session is started to collect the password. This is the recommended approach.