Use real context when saving models

ref #3086, ref #3084

- Ensure that we use the current logged in user and not just user 1 when
  saving models