Free-scoring Dundee United extended their unbeaten run to six games but they were made to dig deep for their 1-0 win by hard-working Ross County.