Swapped order of REALMS fro login
Removed Switch User option
Merge pull request #691 from nla/ti_user_fix

User Access Fix
junit test fixed
Merge pull request #692 from nla/bs-tiff-test-fix

junit test fixed
Merge remote-tracking branch 'origin/master' into dsc-736
code refactor.