Completed login/logout integration tests.
Started work on authorization/permissions.