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