Fix bug in CredentialFileProvider test.