The court or judge, on motion of either party, may require the attorney of the adverse party to produce and prove the authority under which the attorney appears and may stay all proceedings until the authority is shown and may at any time summarily relieve a party from the consequences of the acts of an unauthorized attorney.
§ 37-61-402, MCA