Expand openid clients

These changes allow the user of the openid client to specify more arguments.

This is useful when the user wants to specify some headers and/or upload a file to one of our application.