The lender and the borrower both sign the loan contract. After this the lender sends the borrower the loan funds, either directly to them or to their conveyancer. The agreement only requires a witness signature if the lender isn't charging any interest. If there is interest being paid, or any other consideration on top of the loan amount then the agreement does not need a witness signature.