Cleaned up authentication tests
Handle errors masked as HTTP 200 from UAA server
[#57771924, #57771414]