Redirect on authentication errors actually works now.