Cloudflare is preventing users from logging in. The login page would refresh back to the same page without logging in. They only can go into their LMS dashboard if they refresh the page manually.
Note: Users are not logging in through wp-admin. They are using the default Wordpress login block.
Problem seems to be fixed whenever I disabled Cloudflare.