Settings.yaml - replacing only the 1st occurrence of host/user/password while configuring database

Settings.yaml might contain other lines with user: ..., password: ... patterns (e.g. for SwiftMailer transport backend), therefore the script should replace only the 1st occurrence of these. It's still not ideal because it assumes that TYPO3.Flow.persistence.backendOptions.* are defined first.