plugins.ilive: Change method of getting the secure token.

Resolves #257.