Convert invitation email address and current user email address before comparing
Merge pull request #3766 from dimagi/invitation-case-mismatch

Fix case mismatch error in domain invitations