ensure credentials are set for getTurl