[Stuart and Sam] Test the logout functionality.