When downloading a file, if not already logged in, login form now forward directly to the file, not to the main page of the app.