fix for authority endpoint URIs