Set user_id in activity factory objects correctly.