Auth and Permissions Fixes - WIP

This is still a WIP branch


Currently fixes issue #98 allow both local and sever connections. 
Before when doing `cl work local::myworksheet` and having `OAuthHandler` in your settings. it would ask you for a username/password. 

There is still permission and  connection refused. 
Please see ticket #97