Merge pull request #1207 from jay-hodgson/release-59

fix uncaught js exception in nchart dependency (anonymous method init)
Merge pull request #1208 from jay-hodgson/release-59

and do not logout user when showing the standard view
Merge pull request #1209 from jay-hodgson/release-59

init nchart using new function after dom has been loaded
SWC-1660: fix login forms so that Portal app is not re-initialized on login