fixed bug where prefix to NameId was missing which means the NameId would not be added as a claim