Add test for redirect with query params
Add user approval handler to default configuration

Fixes gh-156