Moved certificate examination to occur during search initialization

Added support for logging in via PC/SC in C_Login()