Set up AdonisJS session auth guard, middleware, and test infrastructure
Configure @adonisjs/auth with session guard for the Account model,
register the auth provider and initialize_auth_middleware, add auth/guest
named middleware, and wire up the Japa session+auth API client plugins
so loginAs() works in functional tests.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>