Warn user on resetting passwords via occ when encryption is enabled

Fix #10103 @MorrisJobke @schiesbn @LukasReschke