Many-body calculation of total and partial photoionization cross sections in atomic nitrogen