Fix secret key used in .htaccess

Properly cache the key so the response URL doesn't have a different key than what's in .htaccess

Previously, one key would be generated for .htaccess while another would be generated for the response URL.