Add func to return passphrase of an unlocked wallet.

This function will be used to create new encrypted wallets with the
same passhprase as existing account wallets.