Use response.WriteErrorString instead of deprecated WriteError.
Mock Persona to make it easier to test the server.
Add some tests to the server.