fixed tests
moved utility threads to cloud.utils module
reuse provider object from mainwindow to avoid another authentication call