Customized LoginController for django-rest-framework-oauth2-provider.