How to fix fastapi.HTTPException: 401: Unauthorized in Python | DevErrors