respect "agentnum" URL param in selfservice login page, #6166, fallout from #22395