The person, other than the commissioner, or deputy or assistant commissioner, upon whose complaint a conviction is had for violation of the law prohibiting insurance in or by foreign companies not authorized to do business in this state, shall be entitled to one-half the fine recovered upon sentence therefor.