Qt 5 fix

QUrl parses the "authority" part of URIs differently than Qt 4.