fixes #239
Added additional logging and returning an empty dict when the username/password
aren't present in the URL

Conflicts:

	LR/lr/lib/helpers.py
added unit tests for getBasicAuthHeaderFromURL
Merge branch 'master' of github.com:LearningRegistry/LearningRegistry into fix_293

Conflicts:
	LR/lr/lib/helpers.py
Merge pull request #241 from wegrata/fix_293

Fix 293