test if setProvider is defined in config object of ngAuth