Tracked down the problem. The teacher had used her Moodle username as a self-enrollment Custom Instance Name. Once the Custom Instance Name was changed, she was able to get back into her course without being prompted for the enrollment key.
Authentication
teacher being prompted for student login
This discussion has been locked so you can no longer reply to it.