Upon the hearing of the complaint, if the court is satisfied that it is made in good faith by the plaintiff, that he or she or some other person selected by the court is a proper person to exercise the power and make the mortgage, and that it is necessary and proper, the court shall enter a decree authorizing the execution of a mortgage for and in the name of such mentally incompetent husband or wife by the plaintiff or such other person as the court may appoint.