I know it is from the old version, but this looks fishy, why should we set the username to `''`?