fix logout api test