added test case for auth fail/succeed with custom auth