Updated the Instagram OAuth flow to use a more robust URL generation strategy by prioritizing BETTER_AUTH_URL or NEXT_PUBLIC_APP_URL over derived request origins. This change ensures consistent callback handling across different deployment environments and cleans up temporary URL origin handling. This improves authentication reliability when running behind proxies or custom domain configurations.