Changed CloudEmailCredentials to use updated cloudfoundry-runtime API.