make sure authorization methods throws exception when there is no provider registered