Update Client.php

Add missing case in isAuthenticated() function