Catches base URI with no path (http://example.com) and reference which is only '#'
implements user:pass URIs. Only one test fails now, because "http://user:@www.example.com" gets transformed to "http://user@www.example.com". Is this the expected behavior?