At the copier , go to Machine Status > Complete Jobs and highlight the job, it will give a fault code.
Changing the router would typically change the Gateway address, but since the CWIS test works and the printer doesn't, the only thing it can be is the authentication, which in no way relates to the router being changed
So the bottom one works and the top one doesn't