SWC-1159: set username if temp in sso login
Merge pull request #787 from jay-hodgson/release-27

SWC-1159: set username if temp in sso login