the error document thing is easy
add this to .htaccess
ErrorDocument 404
http://mydomain/404page.html
if you just want a single password for all your members this page makes it easy
http://www.i01.de/webmaste3.htm
(english version at the bottom of the page)
otherwise have a look at
http://hotscripts.com for a password management system