External_auth.views.login_or_signup fix codepath that didn't set uname

which caused UnboundLocalError.  Added tests for this case
Merge pull request #259 from edx/features/jbau/stanford-shib

Bugfix for stanford shib