{
    "*://*.worldcat.org/account/?page=login*": {
        "name": "WorldCat",
        "logout": {
            "cookies": ["JSESSIONID"]
        },
        "login": {
            "urls": [
                "https://www.worldcat.org/account/?page=login"
              	],
            "formURL": "https://www.worldcat.org/account/",
            "method": "POST",
            "usernameField": "username",
            "passwordField": "password",
             "hasHiddenInputs": true,
            "check": "span.useracct-wc-on"
        }
    }
}
{
    "*://*.worldcat.org/*": {
        "name": "WorldCat",
        "match": "https?://([^.]+\\.)?worldcat\\.org(?!/search*)(?!/title*)(?!/whatis*)",
        "logout": {
            "cookies": ["JSESSIONID"]
        },
        "login": {
            "urls": [
                "https://www.worldcat.org/",
                "http://www.worldcat.org/"
              	],
            "formURL": "https://www.worldcat.org/account/",
            "method": "POST",
            "usernameField": "username",
            "passwordField": "password",
            "hasHiddenInputs": true,
            "check": "span.useracct-wc-on"
        }
    }
}
Add site config for Internet Archive
Add site config for Internet Archive

Testing shows that log in fails from search results and item pages. Hence these exclusions in the match param.
