Broken supersymmetric shape invariant systems and their potential algebras