fix(client): clear cookies on login, logout, register

We should be clearing all cookies, since we can only be logged into
a single user and cluster at the same time. This fixes the 403 Forbidden
when being logged in immediately after registering.

closes #1088