login error checking testing