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