TRQ-2373. Make it so that login nodes correctly restrict the number of jobs they can run to np=X. cherry-pick help.