solve the bug

if user cancel login when calling openForPublish first time,the login
window didn't show when calling openForPublish afterwards.
=>call session.closeAndClearTokenInformation(); to close session,so the
activity would create new session next time