Only store user credentials when SMB_OC storage is enabled

Conflicts:
	apps/files_external/lib/smb_oc.php
Merge pull request #12523 from owncloud/port-11747

Only store user credentials when SMB_OC storage is enabled