Spectrally accurate solutions of nonlinear fractional initial value problems