84b924946f switched to requiring both SSH_AUTH_SOCK and SSH_AGENT_PID for an agent to be used. This doesn't seem to be a typical situation, so perhaps it was not intended.
84b924946f