I have a strange issue with my Late 2012 21" iMac, it has OS X Mountain Lion 10.8.2. The issue is this, if i turn on my iMac and then walk away for more than about 5 mins without logging in, it shuts down! it does not happen once I am logged in to OS X, I have never had this issue before with other Macs. Any ideas?