Cleans up the template markup for login providers