Fix the resource auth table stuff.