Merge pull request #215 from bendiy/master

Fix syncUser crash.
Fix auth scope route now that we're using XM.SimpleModel.
Merge pull request #216 from bendiy/master

Fix broken GlobalPrivs to session
Make sure a matching org was found.
Merge branch 'xtuple'
Merge pull request #219 from bendiy/master

Make sure org is set in scope selection.
added sales to sanity exceptions
Merge pull request #223 from shackbarth/sanity

added sales to sanity exceptions
Merge branch 'master' into 19296