Avoid attempting to load a user in current_user in the API exception handler
This could lead to incorrect exceptions such as those found in https://gitlab.com/gitlab-org/gitlab-ce/issues/37680.
This could lead to incorrect exceptions such as those found in https://gitlab.com/gitlab-org/gitlab-ce/issues/37680.