Improve integration tests for login, logout, login with wrong parameters