add TLS option for ldap auth

Adds an option to use TLS with ldap auth. Defaults to False since it can be a little bit hard to set up sometimes. Also adds some more ldap options in the local_settings example.