enabled sftp private key support (instead of password)

this is the code to make #9182 work
@bantu @icewind1991 maybe you have a clue ? I suppose it might be an autoloader issue, maybe related to the used PHP version ?