Update find_unique_account to do substring matches

We already handle ambiguous matches by erroring out, so by using a
substring match we can have a simpler way to search for records.

Signed-off-by: Michael Swieton <mike@swieton.net>