Curves with a node in projective spaces with good postulation