Re-add custom auth middleware