[MacPlatform] Improve credential prompt dialog layout.