22778304

By: Michael Lynch <git@mtlynch.io>

Add loginPost unit test coverage

Cover the login POST handler branches that were not exercised by the
existing auth flow test. The new tests verify malformed form handling,
invalid next paths, incorrect credentials, unexpected auth failures,
session creation failures, and successful redirects.