Auth for angular ui-router, based on django rest framework as a backend