RESTful authentification for Django applications