Remove unneeded daos from resident test
Fix resident basicAuthentication