PAM and user state fixes, some optimizations to unit tests, unity folder name changes