Reverting "Support non-ASCII values."

This commit was not actually bug-free for all the input
encodings. Supporting all the possible encodings is hard and not
necessarily beneficial. For now I'll just assume that the file is
encoded in UTF-8.
Add some comments about safety of calling authinfo_lookahead.
Provide a shortcut function to look for entry matching user data.