Add two method to 'act-as-user'.

This is useful for batch importing issues from another repository,
as it allows the API to create tasks, etc. as another user.
security.allow-conduit-act-as-user needs to be enabled for this to
work.