[backport] [stable6] Added password obfuscation for external storage config

Backport of https://github.com/owncloud/core/pull/7794 to stable6

Please review and test @LukasReschke @bantu @ser72 @icewind1991