Testing secure sign in with SQL