This was solved by following the steps here: Stuck in a login loop when logging in from sync client on Linux
Basically I kept making those changes to the NC config file until things started working. I’m behind an NGINX proxy so those proxy settings may have been what helped.