Confused about LND derivation of node's payee pubkeys
Wrong cointype. I'm assuming mainnet = 0, and testnet = 1,  although I can't find any documentation on this.
m/1017'/1'/6'/0

gives the correct identity key.