Updated TestLogin and simplified some tests to match unit tests idea
better.