Add support for repopulated login form