well, you could make the button grey-colored from the beginning (so the button in the screenshot above would be grey instead of blue).
It's already like this if you want to download resources, you see a grey-colored-button, when you click onto it you are being forwarded to the Log-in/Register-page.