Added methods for login_admin and login_student in tests.