fix java.lang.IllegalArgumentException: account is null
remove debug logging from Session.getPrimaryOrganizationId()