def login(self, username, password):
        response = self.post('/api-token-auth/', {"username": username, "password": password},
                             format='json')
        if response.status_code == status.HTTP_200_OK:
            self.credentials(
                HTTP_AUTHORIZATION="{0} {1}".format(api_settings.JWT_AUTH_HEADER_PREFIX, response.data['token']))

            return True
        else:
            return False
Return the directory for the map configuration files (used by the
dataset/ETHPy150Open GetBlimp/django-rest-framework-jwt/rest_framework_jwt/test.py/APIJWTClient.login--crossover with--dataset/ETHPy150Open UDST/urbansim/urbansim/utils/misc.py/maps_dir