Hi there,
had the exact same issue restoring from a twrp backup. It would boot, but the screen would remain black and wouldn't allow me to log in. I was able to recover by first installing the rom and then restoring only the data partition, but some configs were lost (app permissions, and so)...