Use equals instead of == to facilitate Client creation

This is to fix the issue https://github.com/Riskified/java_sdk/issues/3