That seems like a lot to put on one line, but anyways...just use the "&&" (and) logical operator. For example:
if (isset($COOKIE['stregis_username'] && isset($COOKIE['stregis_password'] && $username != $COOKIE['stregis_username'] && $password != $COOKIE['stregis_password']) {