SCAL-298 - fixed removing private resource credentials