Actually, could you try the SCLogin module > Advanced tab > Caching parameter and setting it to disabled? This is usually the cause of that error but is intermittent, which might be why you're seeing it sometimes and not others. Let me know if you continue to have the issue after disabling it.
-Melissa