Fix unit tests for FileMakerXMLImport

- Test does not depend on external data any more
Add database setup code

- Add password verification
- Add database resetting
Fix application startup

- Fix database access from application