Add source parameter instead of relying on the end site to define it [MJ-903]

The source parameter would have been applied to the wrong url if it had been successful.