Add interface to update authentication just before ssh session opened

A part of feature JENKINS-21637.

Authentication must be updated just before ssh opened. Because this feature refers savable parameters for other plugins.