Add tests for contact user id errors and add debug output for policy validation results
Add debug info about final policy validation result
clear redirect target if there are errors
fix test
Fixes #3 by suppressing redirects in case of errors