Create an OathClient instance with a customizable configuration block. This allows for a more fluent, DSL-style configuration approach.