add username and password fields to form for sftp upload
test for credentials with different upload types
Merge pull request #1280 from jay-hodgson/SWC-1846

SWC-1846: add login form to uploader instead of relying on basic http auth