The login key is no longer supported as of SDK 2.0. We are thinking of how we will support this use case in the future but right now we do not have a replacement technology to help you.
Our current plans are to ship a new authorization API in the next few months so that we can support embedding our products into Wikis.