Refactored IClient to base interface in auth-core