Refactor clearToken to log correctly the Authentication Exception