Replicate redirect URL building logic for post requests
Provide option to preserve cookies across requests