MULE-8089: Wrong attributes for TLS in OAuth config

Fixed TLS in tests, added support for TLS in client credentials.