Fix error message on wallet import (wrong password)

Fixes #716