If $twoFA{enabled} = 0 is set in the localOverrides.conf file, then it will not ask you for the code. There is also the possibility that $twoFA{enabled} = 1 is set in the course.conf or simple.conf file for the admin course, so check that also. That would override what is set in the other files.
Also, you can reset the OTP secret for an admin user from the command line using the bin/reset2fa wwsh script. To use it execute
wwsh /opt/webwork/webwork2/bin/reset2fa admin_course_id user_id
where admin_course_id is the id of your admin course and user_id is your user id. Note that there can not be a way to reset your own user's OTP secret from the browser UI as that would be a security vulnerability. Hence the script.