Implement initializeWithApplicationId:credentialId: method