If you want to view a SharePoint file using the handling file: GetSharePointFile.aspx, please check the global settings in:
Site manager -> Settings -> Microsoft SharePoint
The settings configured here are automatically used for authentication by the GetSharePointFile.aspx page. It is not enough to set up the credentials in the SharePoint web parts’ properties if you want to see the content of file (not to list only).
-hg-