Credential Encoding Guide: Safe Patterns for Secrets in APIs