Why is this happening when we make a call to the AccountApiController.Register() method?
I'm using EF Code First in a multi-layered architecture with MySQL and had the same exception and using the following line inside the DBContext Class constructure works:
Database.SetInitializer(null);