refs #74 
- Don't redirect to login on logoff call
- Set to connected when using mock (stays not connected after reconnect)
- avoid Stackoverflow exception (unrelated)