setup basic authentication for freebase api