Reimplement login and logout as separate viewsets.