OWASP Raider is a framework designed to test authentication for web applications. It treats the authentication process as a finite state machine. Each step is a different stage, with its own inputs and outputs. Those can be cookies, headers, CSRF tokens or other pieces of information.
The configuration files for Raider are written in Hylang, which enables it to be extremely flexible, and with some effort, any authentication mechanism can be replicated.