Fixed a bug in the maximum password cipher. And added a test for it.
Added delays to make sure do do not flood out event queue.
Merge remote-tracking branch 'origin/develop' into NoDB