[FIX] web: avoid trying to access to deleted record message when change password

The onchange call can be made with empty ids list (which would fail). opw 610810
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-linux64