@VisibleForTesting
void checkAuthCookie(URL url) throws ClientLoginException {
long minExpireTime = System.currentTimeMillis() + 60 * 1000;
Iterator<ClientCookie> li = cookies.getCookies();
while (li.hasNext()) {
final ClientCookie cookie = li.next();
if (cookie.getExpirationTime() > minExpireTime && cookie.match(url)) {
return;
}
}
throw new ClientLoginException("This system's clock appears to be set incorrectly. "+