added html login dialog
bugfix in postFormData
added preauthPostFormData