(1) Where a policy of marine insurance has been assigned so as to pass the beneficial interest therein, the assignee of the policy is entitled to sue thereon in his own name; and the defendant is entitled to make any defence arising out of contract which he would have been entitled to make if the action had been brought in the name of the person ...