[FIX] base: fix authentication, wrong login/password raise an error 500
[FIX] base: fix authentication, wrong login/password raise an error 500

During rebase of 4f6ec1c, we remove accidently a part of aac21e4.
Side effect is that uid was False but success_login True.

Courtesy of @xmo-odoo for help

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo