fix method for getaccountaddress.

and test dumpprivkey, dumpwallet, encryptwallet, getaccount and
getaccountaddress