Fix registry auth and remove other hidden ping commands from client code

This fix addresses #4267 and finishes SHA: e2eace9715253b5254d1596f3ee91e2f61127929

Solution discussed with @crosbymichael on IRC.