[FIXED JENKINS-19964] Bulk change was against wrong saveable object. Narrowed the scope to be just the object affected.
Improve credential migration logic