Added logout_user integration test helper (ubpb/catalog#278)
Added logout_user_test (closes ubpb/catalog#278)