MacBook resets time at every restart
I have a MacBook Pro 15" from 2015. A few days ago when booted the clock was reset to 1.1.2038 00:00. I had to de- and reactivate the auto-set function in the setting multiple times before it worked again. Since then at every restart it goes back to that time (not 00:00, but as if the clock had been running since then). While the time isn't working I can't get to any webpage due to outdated signatures, and it's really annoying to go into the settings every time I restart.
I have had the MacBook for 1.5 years now and have had it plugged in almost exclusively. The battery is at 59 cycles and 93% health.
What could be the cause of the problem and how could I fix it?
MacBook Pro with Retina display, macOS Sierra (10.12.4)