[web] Set response status to 400 when appropriate in ajax controller
When this is clearly a client error, set status to 400. Otherwise, keep the
default value for RemoteCallFailed (status=500).
.. _auth_module:
:mod:`cubicweb.pyramid.auth`
----------------------------
.. automodule:: cubicweb.pyramid.auth
.. autofunction:: includeme
.. autoclass:: UpdateLoginTimeAuthenticationPolicy
:show-inheritance:
:members: