remove duplicate credential sets