SSH: Various updates.
Move auth method detection into script-land, to make it easier to change.
SSH: Misc. updates to the new analyzer.