GUI-1374: Fix missing security group and key pair references in "Connect to instance" dialog

...when launched from instance detail page and handle display of multiple security groups in dialog.

Fixes https://eucalyptus.atlassian.net/browse/GUI-1374