workaround for 401 response status