Wallet authentication support

Closes issue #8