Handle scenarios where the password used for authentication is expired, like in https://github.com/gnumoksha/php-freeipa/issues/4