CLOUD-102 fixed credential problem

unused local variable