For me the problem occurred after testing the password reset function. I received the verification code, but after using it to reset the password, I received the same error message. To verify I switched to the Beez standard template, and Beez accepts the security code.