This is not a problem that cyclists face alone, the same thing can and does happen to motorcyclists. The advice for motorcyclists is the same advice that bicyclists can follow: let the traffic light cycle about 2 times and then go ahead and run the red when it is safe.
The faster and more practical method, though, would be to move to the side of the road and let a car up where they can trigger the sensor.