Add a "/" in the external URL right after "tokens" and before "?" Example:<a href="http://external.com/arcgis/tokens/?request=gettoken&username=bokay&password=1234" target="_blank">http://external.com/arcgis/tokens/?request=gettoken&username=bokay&password=1234</a>