Fix parsing of querystring and user:password