Bug 916661 - Refactor Authentication Dialog in AppWindow submodule