The sftp_password_based_auth app imports the sftp (key-based auth) app as a dependency, mirroring most of its functionality.
Therefore, it needs to be updated separately after #17149 is merged with updates to the file handling in sftp.
Also, the file handling needs to be tested for these, since it is currently unable to be tested.