adding basic auth first draft to sword api

used when fetching files from a Fedora instance.
proof of concept
refs #6441