Return error if user declines to pair client with their account.
Refactor to simplify test code.