How to specify git account to use with 2fa_recovery_codes?

I have multiple gitlab users but only one key so how to specify user for 2fa_recovery_codes. I have tried to set the git config global to the user but 2fa_recovery_codes ignores that.

From what I can see 2fa_recovery_codes uses GL_ID to choose the user but not sure where it gets it from.

Any suggestions?

I see you can not use the same key anymore so I will migrate my projects from the lost account at least I can get at them with another account.