oops

So I missed a few things.
The api was trying to set cookies, and thats bad.
Created a simple script to easily clear the database of all AP data.