Add password and authenticate tests