Small edit to apiCredentials service.