HttpAuthPlus [1] is a php class for HTTP Authentication against a database, or a ASCII file. It further provides user administration methods for adding, updating, deleting users from both database and ASCII file authentication methods. It is requires PEAR:DB.
I did not try it out; the user handling was just to mention here.
[1] http://sourceforge.net/projects/httpauthplus/