Fix: correct password check in maintenance mode for admin users via jdbc.
Merge branch 'master' into multi-tenancy

* master:
  Fix: correct password check in maintenance mode for admin users via jdbc.