Add environment-based configuration for password hashing