test auth
new auth test
add custom error page. closes #1