The court or judge may, on motion of either party and on being shown reasonable grounds therefor, require the attorney for the adverse party, or for one of the several adverse parties, to produce or prove the authority under which he or she appears and, until he or she does so, may stay all proceedings by him or her on behalf of the party for whom he or she assumes to appear; but the oath of the attorney is presumptive evidence of his or her authority.