mostly internal changes
simple, uniform password-checking interface. Submitted by: Camiel Dobbelaar <cd@sentia.nl>