s3:libsmb_server: split out SMBC_auth_credentials() helper