OAuth2 clientid

- Add configuration for OAuth2 clientID

Fixed #3060.

review: @devoncarew