Adding basic test for User creation via API.

The following changes add a basic test for the creation of Users via the
API layer. More tests will be added in the near future.
How about something like this?

    u"Logins do not match: '{0}' != '{1}'."