Updated preventpassindb to work properly. (sometimes db password wasn't being updated to 'not cached' properly).
Updated preventpassindb to work properly.
(sometimes db password wasn't being updated
to 'not cached' properly).

Merged from MOODLE_15_STABLE

dilawar/moodle