Fix for #1190, modified providers loginDownload and search methods,
cleared login_download and restructured if statement.