chan_agent: Prevent multiple channels from logging in as the same agent.