Redirect directly to a user if only one result.

The idea of this commit is EXTREMELY similar to f7e4422.

If there's only one (exactly-matched) result when searching for a user,
let's avoid another pageload + click, and provide a little bit better UX
by redirecting right to the one match.

Only do this if we're NOT handling a JSON request, so we don't break the
API.