updated login tests