fix bug when inviting users to an org

InvitationView is used for both org invites and domain invites. So these changes just help to keep InvitationView generalizable.