Refactor the admin_client and server classes to support Pulp v2.4