PCD_Authenticate() failed: Timeout when using NDEF formated Mifare Classic

Hello,
I have a setup where I read from NDEF formated RFID Chips with an MFRC522 board. (My project can be found here, the relevant code is here.)

So far I have used Mifare Ultralights without issues.
Now I wanted to use Mifare Classic Cards and ran into an issue when I added the necessary authentication call:

Authentication works when I use the blank cards. After I wrote NDEF records to them with the NFC Tools Android app I get the following error:

PCD_Authenticate() failed: Timeout in communication.

My suspicion is that the NFC Tools app changes the key when writing NDEF records to it. But I have no idea why it would do that or how to confirm that.

Does anyone now what the NFC Tools app does to the cards and how I can read or at least reset them?

Best regards,
Chris