Now can access API through Python via JavaScript initiated cookie