Fall back to username

- Don't allow pair to be set if the username isn't found.
- TODO: Fix tests