Description of problem: Login with invalid name or password return 500 Internal Server Error (the description is correct {"Error":"password doesn't match"}), it should return "Client Error" code - 4xx. Version-Release number of selected component (if applicable): rhscon-core-0.0.6-0.1.alpha1.el7.x86_64<F3> How reproducible: 100% Steps to Reproduce: * Try to login to USM API via POST request to APIURL/auth/login with invalid username or password: ``{'username': 'admin', 'password': 'wrong'}`` Actual results: response.ok: False response.reason: Internal Server Error response.status: 500 response.text: {"Error":"password doesn't match"} Expected results: Response contain status 500 - Internal Server Error, while it is a client problem, so it should return "Client Error" with code 4xx.
Tested with rhscon-ceph-0.0.29-1.el7scon.x86_64 rhscon-core-0.0.29-1.el7scon.x86_64 rhscon-ui-0.0.43-1.el7scon.noarch and it returns HTTP request sent, awaiting response... 401 Unauthorized Username/Password Authentication Failed. -->VERIFIED