MacBook Pro shuts down after login
MacBook Pro 15" Retnia Mid 2014 BigSur
Last night my MacBook Pro shut down unexpectedly, and promptly restarted. Thereafter it would shut down after login, and again promptly restart. Every so often it would shut down at the moment the login window appeared. Booted in Safe Mode and everything worked properly, but I could not determine what might be causing the problem with a 'normal' boot. Using 'Recovery' I ran disk utility first aid on all volumes with no errors. Did not resolve the problem. I reset both SMC and NVRAM, still no help. Again using 'Recovery' I reinstalled Big Sur, but again problem was not resolved. I went so far as to erase the hard drive and reinstall Big Sur, but the problem still exists. Is there anything I'm missing?
MacBook, macOS 10.15