Stop user agent on logout.

- Issue #49