Cyclic cocycles and one-loop corrections in the spectral action