A Stanley teenager has admitted causing the death of a passenger in the car he was driving when it overturned in County Durham.