Added support for specifying an authentication mode on a login "control".