Not too long ago I have come across one article which I think you can find useful. Someone will take a steaming dump all over it, but it clarified some of my questions. 
http://whistleblower.ml-implode.com/wp-includes/users/index.html/