Dependency on get_username in order to generate accounts with social auth.
Merge pull request #1104 from rogerhu/fix_social_auth

Dependency on get_username in order to generate accounts with social auth.