[IMP] split login_and_redirect() into login_and_redirect() and set_cookie_and_redirect()
[IMP] split login_and_redirect() into login_and_redirect() and set_cookie_and_redirect()

havt/openerp-web,akretion/openerp-web,akretion/openerp-web,akretion/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web