added password manager support
removed credentials from settings
added support for http auth
some code cleanup