Allow logout to be called before .request or .watch.

A slightly simpler solution to #2529 which pushes the majority of the logic into communication_iframe/start.js