Why is this happening when we make a call to the AccountApiController.Register() method?
Do you override the OnModelCreating method? If so, can you share it or the whole context class?
If not, you should pay attention to the following in the error message
or if the same context instance is accessed by multiple threads concurrently. Note that instance members of DbContext and related classes are not guaranteed to be thread safe.
If that doesn't help, do you use an unchanged Web API project which is created by Visual Studio?