remove nio dependency and added cache for get token in preferences
Merge branch 'rhohub-subscription'