Differentiation was according to the product rule, while ∂ A /∂ t is the time derivative of the initial A, not the A (t) operator defined. The last equation holds since exp(− iHt / ħ) commutes with H.