do not hide loading dialog until after we get the user profile to check for username
Merge pull request #822 from jay-hodgson/release-28

merge change from release-27
Merge branch 'release-28' into develop

Conflicts:
	src/test/java/org/sagebionetworks/web/unitclient/presenter/LoginPresenterTest.java