Tech Debt: refactored signature required for reuse

Signature required had a function in the closure, has_valid_signature,
that needs to be included in the permission egg to allow signed requests
to bypass permissions in apply_permissions.