Make IP address a varchar
Destroy API key by IP string
Better failure logging for API keys
Improve test view logic, clear localStorage on logout