[CoursePress Pro] Student Login popup not working

Hello superheroes,

We're encountering a strange problem with Coursepress Pro. If a student clicks on the 'signup and enroll' button on the course overview page, the login panel that pops up doesn't work and gives an invalid password error every time.

I've deactivated the plugins likely to cause a conflict but it still doesn't work – it's very strange.

Ideally, we'd like to replace this popup with our own custom login / registration form – I found an old snippet of code posted in response to another question but unfortunately this caused an infinite loop in which the user was constantly redirected back to the course information page if they were already logged in.

If you can suggest a method of how we can either fix the login panel or replace it with our own we'd be most grateful!

Thanks in advance for all your help!