'Internal Server Error' when setting up MFA/2FA

Okay, so that is a like a 360 bytes long title. Makes sense it could not fit.