WIP: Clean up mod_user.c a little.