Testing secure credentials