Authorisation failure will now redisplay the login page
Alter downloading protocol
Functioning downloads