Fix API: adding missing check on IStargateAccess.connect to approve
state. Fixes issue #182.