ensure that agent channels don't get seized during login (issue #5020)