Automatically assign the right type of user to person signing up if we know who they are.

Addresses #23