Fixing threaded index sync to use admin creds

Fixes #101. 
Not to the indexSync method, but to the controllers constructor, yes :)
@csokol it would work if we create the httppost with the necessary cookies outside the new thread, right?