Support app prefix when using bertrpc/smoke URL
Merge branch 'brynary-smoke' into noahd1-smoke