SWC-1660: fix login forms so that Portal app is not re-initialized on login
Merge pull request #1213 from jay-hodgson/release-59

SWC-1660: fix login forms so that Portal app is not re-initialized on login