small modification on reset authentication token