User passwords are encrypted now.

- Added login and logout tests.