fix bug which caused token refresh to fail
add ability to change config path (which will store connection file AND cache) and remove the old way which only stored the path of the connection file