Unit test for the login_functions() class