cleanup credentials