fixes for registerstudents admin command

There was a query that was reading tuples from
cc_course_registrations and attempting to load them into
the fields of User objects... :-)