Set authinfo fort stun only if there is an username. It fixes the overwrite of AuthInfo that belongs to another item.