Load user_external before login
Merge pull request #1200 from owncloud/fix_core_1826

Load user_external before login