Improve Console Login Tests and add tests for Logout.