Added logout method to session coordinator
Sets the session key back to null
Fixed issue where device force recache event was not sent
Better error handling
Added new tests
Removed unused imports