No need to logout, we have asserted we are not logged in

Signed-off-by: Michal Čihař <michal@cihar.com>
Convert database operations test to new model

Signed-off-by: Michal Čihař <michal@cihar.com>