fix(client): KeyError on cookie retrieval

Fixed an issue where 'no active controller' message didn't show if
cookies didn't already exist.

replaces #1254