Supersymmetric quantum mechanics of the flux tube