Support login dialog versioning. Working on #4