make system cleanups and fixes for N_CONNECT and N_AUTHANS