Sort imports alphabetically.
Move Authenticated to beyond package.
Add a test case for successful logout.