Configurable config.path for authentication

Added an extra 'customAuthentication' argument in connector.xml so that one can write their own custom CheckAuthentication function