The current implementation of siteId uses a url safe Base64 algorithm that limits maximum size of the remote context_id to about 72 chars. Since we prepend the lti_key to context_id, this length becomes even more constraining. Move to a fixed length one-way hash algorithm. See:
BLTI-23
Committed revision 73035.