Misc. security fixes for our outgoing URLs