`lookupUserByName` should set the boolean `match` with return value.