Fixed a few bugs caused by ApplicationRoute setting token