Turning off HTTP basic auth, better json decode