[tests] simplify `test_logging` tests
[tests] simplify `test_logging` tests

Re-fetching from the database is overcomplicated.  Instead, we test
whether sqlalchemy reports `persistent`.

agdsn/pycroft,agdsn/pycroft,agdsn/pycroft,agdsn/pycroft,agdsn/pycroft