advanced _parse_url that handles passwords