[FIXED JENKINS-21772] Only cache CLI credentials in ~/.hudson if it exists.