PEP8 fixes.
Upgraded dependencies to latest versions.
Basic authentication implemented.