I would like to provide a flexible authentication method for my RESTful webservice - either via a HTML form or XML. I realize that I can make an AJAX call from the HTML form, but I thought a simpler mechanism would be useful (especially during development).I would like to provide a flexible authenticati