hook up login + logout with commonplace via shared token (bug 970598)
Merge pull request #1763 from ngokevin/secrettoken

hook up login + logout with commonplace via shared token (bug 970598)