Unfortunately, I have not encountered this error before either. However, the error log you shared indicates an issue with the internal server you are reaching, resulting in an HTTP 500 status code.
In this scenario, I recommend capturing the user’s login events in a HAR file and creating a support ticket with it attached. One of our developer support engineers will be able to assist you further in troubleshooting this issue.