Same problem, the error for me is "Your PIN is no longer available due to a change to the security settings on this device. You can set up your PIN again by going to Settings > Accounts > Sign-in options.
Have you found a solution to this problem? I'm experiencing the same thing and have already factory reset 4 times and changes sign in settings every time. Please help