srrd: moved auth functions to auth.c, cleanup of srrpasswd.c, srrpasswd works again. now for http.c changes