fix for multi credential
Merge pull request #101 from cloudfoundry-incubator/credentialfix

Bug fix for multi credential