Support app prefix when using bertrpc/smoke URL