Add test case for skipping `before_action` using `only` and conditional.

Closes #9703.

Add a test case for `skip_before_action` using `only` and conditionals. It must run the filter if the condition is `false`.