Allow network-specific username and ident. Closes GH-589.