[client][TestUserConfigView.py] Fix a test which is broken by 98abd18.

I changed the expected HTTP status code from 500 to 401 because the
server should return more detailed information.
[client][TestUserConfigView.py] Add a test for one more Unauthorized case