Added support for json body posts

Allows posts with a json body and Content-Type application/json to authenticate. It maintains compatibility for the form-data requests as well. 

I did change the Readme, you may want to remove those changes.