Testdatabase transaction, login via db

- Add test methods in Utility.cs
- Add login via db, dlgLogin ui