Moved auth.c to separate dir