enabled sftp private key support (instead of password)

this is the code to make #9182 work
Please check whether this can be moved to `apps/files_external/tests/config.php` somehow to make it closer to the place where it's tested.