Fix integration tests for CSRF rotation, hashed API keys, and schema changes
Restructure into monorepo