First working version of SSL certificate login.