Add param to disable sig_reference table updates and fix root login bug.