Show authorization error on universal login page after rule

I ended up using the solution shown here: http://community.auth0.com/t/handling-authorization-error-with-hosted-pages/9931/13