Changing a bucket from port based authentication to SASL authentication can be done with:
shell> curl -u admin:password -d ramQuotaMB=130 -d authType=sasl proxyPort = 11215 \ -d saslPassword=letmein \ http://localhost:8091/pools/default/buckets/bucket_name