Add getaccount RPC command.