Pre-define default settings values in settings table if they are missing from the settings table.
Fall back to LDAP for authentication if required.