Fixes for MW 1.24, external auth modifications

A couple of fixes to allow UserAdmin to work with MW 1.24.1. Also a change which allows the password setting/resetting features to be disabled altogether, useful when an external authenticator such as LDAP is being used.