Adds support for adding an expiring token to media urls which works with nginx's http_secure_link_module