Unauthorised error on emoji request when visiting the merge request page when signed out

Summary

When a signed out user visits the MR page, the emoji request results in an error.

Steps to reproduce

  1. visit any MR page when signed out
  2. see error message on console

Example Project

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Screenshot_2021-05-18_at_13.55.19