I had this problem, and I don’t know whether my hosting company or the browser caused it, but @goldenbluespiral’s solution (February 8, 2021) worked for me.
I added the code to the functions.php file for my site (it’s a child theme, so it will not get overwritten by updates), and now non-admin users can log in again.
Result! Thanks.