An executor or administrator shall have the same right to foreclose a mortgage or collect the debt secured thereby as the decedent would have had if living and the executor or administrator may complete any such proceeding commenced by such decedent.
K.S.A. 59-1403