Files encryption

- Changing user password in webUI leaves encrypted files readable
- Fixed bug causing logout + login to render some files unreadable
- Fixed some errors relating to login and hook handling