[FIXED JENKINS_21772] Only store credentials cache in ~/.hudson if it exists.