Using shortcodes in no access message


Is it possible to use PHP or a shortcode in the No Access Message?

My no access message has an email sign up form in it and I would like to make one of the fields have a variable parameter pulled from a cookie.

To do this I need to either put a shortcode or some PHP in the no access message.

Thanks for your help.