Refactored, fixed race condition when settings are merged. Added password encryption settings so DIGEST middleware can be added later. Changed how passwords expire.
Added new module for merge of settings.
Refactor and added new features.