Plans for a HMO less than a mile from the council's HQ have been approved by Durham County Council.