Hello,
For all that have issues with TWRP password,
For some devices, TWRP is capable of decrypting the data, but for some it can’t. But since you want to reset the device, it’s not a problem. Just click “Cancel” and swipe the “Swipe to allow Modifications” arrow. Once on the main menu, simply follow the part 4) of this tutorial [HOWTO] The system doesn't boot (bootloop) . Which is “Wipe > Format Data > yes > Reboot System > Do Not Install”.