Cleaned up ClientConfig and added option to provide a Supplier<AccessToken>