See REPO-1363
REPO-1363 RepositoryJaxrsService returns 401 instead for 403 when the authenticated user does not have sufficient permissions