fix bug of oauth2 request. add test of addmultisigaddress