Fix typo variable reference.
Ignore user/pass in URLs again.

Fixes #2001

Refs #1970
Refs #1631
Make check for about:blank URIs more exact.