Survive when CouchUser.get_by_username returns None
Merge pull request #1086 from kennknowles/sso-no-couch-user

Survive when CouchUser.get_by_username returns None