You have used the real-valued cube root function to go from $\sqrt[3]{1}$ to $1$. You have used a complex-valued cube root function to go from $(\mathrm{e}^{2\pi\mathrm{i}})^{\frac{1}{3}} = (1)^{\frac{1}{3}}$ to $\mathrm{e}^{\frac{2}{3}\pi\mathrm{i}}$. The two functions are not the same. In particular, the first function takes reals to reals and the second takes reals to non-reals (except for zero). As you have not applied the same function to both sides of your equality, you have no reason to expect to retain equality of their results.
To more clearly see what's going on, using your complex-valued cube root function and three different ways to write "$1$": \begin{align}
1 &= \mathrm{e}^0 = \mathrm{e}^{0 \pi \mathrm{i}} \text{,} \\
1 &= \mathrm{e}^{2 \pi \mathrm{i}} \text{, and } \\
1 &= \mathrm{e}^{2 \pi \mathrm{i}} \cdot 1 = \mathrm{e}^{2 \pi \mathrm{i}} \cdot \mathrm{e}^{2 \pi \mathrm{i}} = \mathrm{e}^{4 \pi \mathrm{i}} \text{.} \end{align} Then \begin{align}
(\mathrm{e}^{0 \pi \mathrm{i}})^{\frac{1}{3}} &= \mathrm{e}^{\frac{0}{3} \pi \mathrm{i}} = \mathrm{e}^0 = 1\text{, } \\
(\mathrm{e}^{2 \pi \mathrm{i}})^{\frac{1}{3}} &= \mathrm{e}^{\frac{2}{3} \pi \mathrm{i}} \text{, and} \\
(\mathrm{e}^{4 \pi \mathrm{i}})^{\frac{1}{3}} &= \mathrm{e}^{\frac{4}{3} \pi \mathrm{i}} \text{.}
\end{align}
If we were to keep going, we would find $(\mathrm{e}^{6 \pi \mathrm{i}})^{\frac{1}{3}} = \mathrm{e}^{\frac{6}{3} \pi \mathrm{i}} = \mathrm{e}^{2 \pi \mathrm{i}} = 1$ and cube roots using subsequent multiples of $2\pi \mathrm{i}$ continue cycling through the three we wrote above.
There are two ways to look at this. One is to take the point of view that there is one cube root function but every number is an infinite collection of equivalent polar forms: $(1)^\frac{1}{3} = (\mathrm{e}^{2 k \pi \mathrm{i}})^\frac{1}{3}$ for any integer $k$. When we take this point of view, we say things like "$1$ has three cube roots and you need to specify which one you mean." It would be more accurate (but too cumbersome) to say "the cube roots of the collection of things equivalent to $1$ form a set of three elements and you should specify how to choose which element of each set you mean when you say 'cube root'." (Note that once again, zero is different -- its set of cube roots has only one element. This is an argument against this point of view: you have to treat one number differently.)
The other point of view is that there are three cube root functions (using the same idea as above to pass between them): \begin{align}
\sqrt[3_{(0)}]{1} &= \sqrt[3]{1} \cdot \mathrm{e}^{\frac{0}{3} \pi \mathrm{i}} \text{,} \\
\sqrt[3_{(1)}]{1} &= \sqrt[3]{1} \cdot \mathrm{e}^{\frac{2}{3} \pi \mathrm{i}} \text{, and} \\
\sqrt[3_{(2)}]{1} &= \sqrt[3]{1} \cdot \mathrm{e}^{\frac{4}{3} \pi \mathrm{i}} \text{,}
\end{align} where we have used the parenthesized subscript on the index of the radical to pick out which of the three complex cube roots we mean and the unsubscripted index "3" to mean the real-valued cube root. Equivalently, we use the parenthesized number to pick out which multiple of $2\pi\mathrm{i}$ to use in the alternate version of the radicand. When we take this point of view, we say that the roots differ by the power of a cube root of unity since the three multipliers are all powers of $\zeta_3 = \mathrm{e}^{\frac{2}{3} \pi \mathrm{i}}$. It is perhaps unfortunate that $\zeta_3$ is not the right choice to recover the real-valued cube root function, but using that choice ($\zeta_3^0 = 1$), it's powers don't get us any complex numbers. (This is an argument against this point of view: the natural cube root is not the real valued cube root.)
Neither point of view is perfect, but both tell you the same thing -- the complex cube root is not as simple as the real cube root. To pick from the three options, you need to make some sort of choice. If you make no choice, you end up with three answers (except for zero).