Make json api act according to HTTP Basic auth spec

Dont force ole TMCNetBeans versions to use http_basic_auth