If you are looking at a resource page and are not logged in, you are prompted to log in before download. Once you have logged in it returns the user to the Exchange home page and not back to the resource that they were viewing/ trying to download. After the login prompt you should be taken back to the resource page that you were viewing.