Job token has unsufficient privileges for connection checking
The function Gitlab::new_job_token()
uses a common way to check connection with User API. But according to the job token documentation, this token can't access to it.
The solution would be a specific way to check job-token connection with another API. I'm preparing a MR for it.