JSONP authentication support

Close #3.