ExternalAuthentication: Move authenticationMode to config.ini

fixes #6214