Fix typo in ClauseParser operator key
Fix API route generation for all cases
Defensive property access on thread.children
Restore subpath in API route generation
Support baseUrl for authentication service.