Fixed problem of internal sensors having different session id from main
sensors
Tweaked logging format
Updated to V1.8.16. Removed unused CAS stuff. Added Database type
chooser in preferences. Removed CAS login option from mainChooser