The tests show it works. This will just compile the credentials provider and then attach it to the client configuration which will build a new client.