The rights of a debtor in relation to redemption are transferable, and the assignee has the like power to redeem.