Refactored the handle response flow a bit, and integrated project id check
Added logic to handle RAX-AUTH:projectId