Stand alone db_tests
Make tests verbose and fast failing
Fix wrong authentication logic