Changed third party auth fail code to 401 (in both new and old template)

Show provider name instead of backend name.
Error handling
Redirect to dashboard if authenticated
Fix redirect header
Simulate a running pipeline
Clean up check for third party auth enabled
Let third party auth check whether it's enabled
Properly shim a 401