fixed login issue with normal user
removed unittest import
generating random org
raise exception if org doesn't exists
removed else part
removed unwanted imports
Merge pull request #426 from sghai/fix-login

fixed login issue with normal user