I presume insurance companies tend to pay out if the flight was intended to be carried out legally. If you jump in the cockpit without a licence and stuff the aeroplane then there is a pretty clear case not to pay out.
The only ones that I know about where the insurance didn't pay out were the ones with either massive paperwork irregularities for the aeroplane or pilot.