#175 fix bug in disabling auth codes