Fix a few instances of passing the user object rather than the user id to ActiveRecord created_by or updated_by fields.

Signed-off-by: Brian Prodoehl <brianp@octosh.prodoehl.local>