Improve handling for database connection errors on server startup.
Fix integration tests for updated login panel.