FYI, the reason there was a password in TWRP is because the data partition on the device was encrypted. The only way I know of to get by that is to format data in TWRP. If you had done that when you first noticed it, you would then have been able to copy another rom to it and flash it.
Sent...