Fixed #202 -- adding content-type header broke registration.