OK, so I installed the 4.4.4 version on my Samsung Galaxy S4, loved it and when released decided to upgrade to the 5.0 version of the same ROM (http://forum.xda-developers.com/showthread.php?t=2557353).
While I was on 4.4.4, I encrypted the device and enabled ART runtime.
When Lollipop was released I did a factory wipe via TWRP (including system and data) and then flashed the 5.0 version. The flash was successful but when I reboot to system it still asks for the passkey to boot. I enter and it boot loops.
I have then went through recovery to several more wipes from the advanced options where it even states that “this will remove your encryption”. During that process I successfully removed the encryption PASSWORD (yes, only the password) so that now when I try to boot the device it asks for an encryption password but states that my password is incorrect.
I attempted to reflash the 4.4.4 version but get the same results – password WORKS again but boot loops. Reflashing the 4.4.4 version again after advanced wipe results in password failure instead of boot loop.
I used Titanium Backup to backup all of the system and user apps and installed the zip so that once it boots it was exactly as I left off. Also I have tried to restore from a backup with the same results.
All in all I think it has more to do with the ART runtime, and due to that there is NO Dalvik Cache to clear and I think the encryption is somewhere in Dalvik