Preparing a secure sign-in