added test-auth-basic.c