Internal Server Error when deployed to AWS - Better Auth