Fix segfault when logout command runs on a database with no authenticated users.