Add support for all the authentication options.

Allows you to use the new TLS authentication.