Add logout to pgdb, fix name in tests