diff --git a/lib/base.php b/lib/base.php
index 4007d241deeb5c29aadb87709851be92c501713d..b030b38b5eea52c37b717e7e875f9610fb4cd9dc 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -556,6 +556,7 @@ class OC{
 			// or you are an attacker
 			// we can not delete tokens here because users may reach 
 			// this point multible times after a password change
+			OC_Log::write('core', 'Authentication cookie rejected for user '.$_COOKIE['oc_username'], OC_Log::WARN);
 			OC_User::unsetMagicInCookie();
 		}
 		OC_User::unsetMagicInCookie();