Fixed problem with login test. Added one test.