Move credentials settings into certificate download dialogue (#1480).