(BugID: 96313) Fix for loading user from ExternalUser for first time

Fixes User::idFromName to load data from ExternalUser properly when
user doesn't exist locally.
Merge branch 'bugid-96313' into dev