The problem here is that the thermodynamic potentials are functions of three thermodynamic variables each. Now, each thermodynamic potential has a set of natural variables. For the internal energy $U$, these are S, V and N.
Now, your partial derivatives should explicitly state which other variables are held constant. For example,
$$ \mu = (\frac{\partial U}{\partial N})_{S,V} $$
i.e. you keep $S$ and $V$ constant.
You are, of course, free to express the internal energy as a function of other quantities, such as temperature instead of entropy. This would be achieved by expressing $S$ as a function of $V$, $N$ and $T$, so $S = S(T,V,N)$ or $T = T(S,V,N)$.
Thus, if you want to use the equation $U = N/N_A c_v T$ to compute $\mu$, you get $1/N_A c_v T$ from the $N$-dependency, but also some contribution from
$$ (\frac{\partial T}{\partial N})_{S,V}$$.
That's where your error comes from.