The usage of felogin with headless is not different from the common setup following the felogin documentation.
To test the login without frontend, we can use browser extensions like RESTer
(Firefox) or Insomnia REST Client
(Chrome) to simulate form submission. If the response contains a
set-cookie header, the login was successful.