Add regex validation to wsgi_pass_authorization

I'd actually rather allow a wide variety, and then convert it to On/Off in the template.
I think I should add a function for that.