Sign out and sign in with a different account link on 404 pages don't work
Summary
I can't "Sign out and sign in with a different account" from the 404 page.
Steps to reproduce
I click on a direct link to a gitlab hosted resource. I sign in with the wrong account, I get the 404 page. I know that I used the wrong account, fortunately there is that link that would allow me to sign out and sign in with the right account. I click and nothing happens.
What is the current bug behavior?
I click the link, the url changes to https://gitlab.com/sign_out which in turn displays the 404 page.
What is the expected correct behavior?
I'm signed out and I can sign in with a different account and got redirected to the original resource I was looking for.