[#98] added login failure test and refactored using fixture