Fixed checkEmailPasswordWorks test and safeRead