da061d35db
Add test-credentials API and UI gate before init-db writes .env. Co-authored-by: Cursor <cursoragent@cursor.com>