test for authprovider