That doesn’t seem right. Disabling SSO on the Discourse end should allow you to login normally to Discourse.
For the issue with SSO, I can’t find any way of reproducing the exact problem you’re describing. I can look at it some more tomorrow if you don’t get it figured out before then.