Hmm. That doesn't make sense. You're far better off storing the usernames and passwords in the database in the first place, and secondly, .htaccess wouldn't be needed for this, just a few lines of php code.
Take a look at www.phpfreaks.com, under their tutorials, you'll find a tutorial on creating a membership system, when I was starting off, this worked for me. 🙂