Moving authCallback into context of ownCloudSync

atvantages:
* get rid of global veriables
* calls individual functions for username, password and fingerprint check
* makes ownCloudSync better reuseable