Error: Capability does not have appropriate permissions to update this Stream

I deleted node_modules and dist folders and I’m still getting the same error. I had replaced @glazed/did-session with just did-session after the suggestion in this comment.

I created an example test file and this results in the error I got in the previous thread:
Can not verify signature for commit bagcq...: Signature does not belong to issuer

import { CeramicClient } from "@ceramicnetwork/http-client"
import { TileDocument } from "@ceramicnetwork/stream-tile"
import { EthereumNodeAuth, getAccountId } from "@didtools/pkh-ethereum"
import { FireblocksWeb3Provider, ChainId } from "@fireblocks/fireblocks-web3-provider";
import { DIDSession } from "did-session"
import * as dotenv from "dotenv"
dotenv.config()

const testSchema = {
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Test Schema",
  "type": "object",
  "properties": {
    "test": { "type": "string" },
  }
}

const ceramic = new CeramicClient('https://ceramic-clay.3boxlabs.com')

const eip1193Provider = new FireblocksWeb3Provider({
  privateKey: process.env.FIREBLOCKS_API_PRIVATE_KEY_PATH,
  apiKey: process.env.FIREBLOCKS_API_KEY,
  vaultAccountIds: process.env.FIREBLOCKS_VAULT_ACCOUNT_IDS,
  chainId: ChainId.CELO_ALF,
})

const addresses = await eip1193Provider.enable()
const accountId = await getAccountId(eip1193Provider, addresses[0])
const authMethod = await EthereumNodeAuth.getAuthMethod(eip1193Provider, accountId, 'Test App')

const session = await DIDSession.authorize(authMethod, { resources: [ 'ceramic://*' ], 'domain': process.env.CERAMIC_ORIGIN })

ceramic.did = session.did

const doc = await TileDocument.create(ceramic, testSchema, {}, { pin: true })

package.json

"@ceramicnetwork/http-client": "^2.5.0",
"@didtools/pkh-ethereum": "^0.0.2",
"@fireblocks/fireblocks-web3-provider": "^0.0.8",
"did-session": "^1.0.0",