Handle case where ref-scheme === base-scheme and ref-auth is empty, per http://url.spec.whatwg.org/#scheme-state and https://github.com/annevk