LoRa-E5 Not Connecting via OTAA to TTN

I’m using full gateway (Dragino LIG16) and cannot AT+JOIN TheThingsNetwork with the LoRa-E5 module (FW version 4.0.11) in OTAA mode.

TheThingsNetwork sees the Join request and rejects it due to MIC mismatch according to TheThingsNetwork.

So, it seems that the LoRa-E5 is not calculating the MIC properly?

This is confirmed by the packet decoder at https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/

The raw packet is from TTN Application Console:

Assuming hex-encoded packet

Message Type = Join Request
  PHYPayload = 0006000000000000800203902420F1F72CD9C9589BF71A

( PHYPayload = MHDR[1] | MACPayload[..] | MIC[4] )
        MHDR = 00
  MACPayload = 06000000000000800203902420F1F72CD9C9
         MIC = 589BF71A (from packet) INVALID (tried MSB 0000-FFFF)
             = 4E25A4D0 (expected, assuming 32 bits frame counter with MSB 0000)

( MACPayload = AppEUI[8] | DevEUI[8] | DevNonce[2] )
      AppEUI = 8000000000000006
      DevEUI = 2CF7F12024900302
    DevNonce = C9D9

I have been able to connect via ABP method but not using OTAA!

Has anyone been able to make OTAA work?