This could be a bug but I have found a work-around from another thread that @pnw-paul suggested here: Password protect a page not working
Add a site level password in the project settings and then remove it, then re-add your page level password.
This worked for me. Hopefully it helps you too!