See para. 302.3.5c which gives an explanation on how allowances are normally treated in calculating stresses due to sustained loads. Also, as you stated, the equation for effective section modulus requires use of nominal pipe wall thickness, so that is what is required to be used in that instance.
_________________________
Chuck Becht