Code refactoring: new method memocastLogin(login, pass) added to TestInvalidLogin.java