Reading the settings autobegins the session's transaction, so the nested db.begin() that saves the first admin's zone as smtp.tz raised InvalidRequestError and every visit 500'd until a zone was saved. The integration test signed in without a zone, so that path never ran; it now has a test of its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>