title: playframework 2.x how to do basic authentication for application/json requests?
body: <p>We would like to do form authentication for users for basic and I think we could work through the zentasks sample for that.  How do we do basic authentication so programs can programmatically pre-empt the challenge and not deal with form authentication at all?</p>