Null-terminate components of parsed principals