RESTful authentication

Trying it out this week.