#110, #98 Fixed no redirect to login screen on token/session expiry

Resolves #110, #98 Fixed no redirect to login screen on token/session expiry
- Added checks for session idle on manage UI
- Added redirect on 401 from dispatch to logout
- Fixed issue with token in query string preventing re-login