More fixes related to LDAP usernames which don't match primary
MyTardis usernames, when using linked accounts.