More than 500 people told to get HIV tests after visiting dentist in Hertfordshire town