diff --git a/src/dawguk/GarminConnect.php b/src/dawguk/GarminConnect.php
index <HASH>..<HASH> 100755
--- a/src/dawguk/GarminConnect.php
+++ b/src/dawguk/GarminConnect.php
@@ -133,6 +133,7 @@ class GarminConnect {
       preg_match("/ticket=([^']+)'/", $strResponse, $arrMatches);
 
       if (!isset($arrMatches[1])) {
+         $this->objConnector->clearCookie();
          throw new AuthenticationException("Ticket value wasn't found in response - looks like the authentication failed.");
       }
Fixes #5

Fix: Removing cookie from disk if authentication failed