If you have a MacBookPro that's having trouble waking up from sleep correctly: spinning beachball, infinitely long login check etc., you might want to try the fix suggested on macrumors by jmora71.
It appears to apply primarily to systems with Solid State Disks and a fair amount of RAM (the author mentions 8G, I have 6G).
Since performing the fix, I haven't had problems in over a week. I used to have issues daily.
For various reasons I had thought the cause was Parallels, but I was happily mistaken.