Had same problems. In my opinion it's the the problem with data partition - can't mount this partition. In data partition there are the informational for pattern/pin fingerprint. If you can't write, there's no way to learn a new fingerprint.
Did you tried if you could mount data in TWRP?