Auto append cid when switching routes

- Fix for https://github.com/Rise-Vision/common-header/issues/418