def METHOD_NAME(self, conn: Connection, args: List[str]):
    if not self.authenticator:
        conn.append_string("OK")
        return
    if len(args) != 3:
        conn.append_string("REJECT")
        return
    user_name = args[1]
    pwd = args[2]
    ok = self.authenticator.authenticate(user_name, pwd, CredentialType.PASSWORD)
    if not ok:
        conn.append_string("REJECT")
        return
    session = self.session_mgr.create_session(user_name=user_name, user_org="global", user_role="project_admin")
    conn.append_string("OK")
    conn.append_token(session.token)