Make json api act according to HTTP Basic auth spec
Dont force ole TMCNetBeans versions to use http_basic_auth
We cannot use request_http_basic_authentication cause we want to have
response in json format in the case when auth fails