Rest now responds with a RegisteredUser object that is automatically
convered to JSON.