Update S3.php

add queryParams option to getAuthenticatedURL method