MOB-1726 add a unit test for the account switcher
MOB-1714 Change label on login button. Add unit tests.
MOB-1720 Change name extraction to keep 1st part of the FQDN, or an entire IP address