public function setPasswordField($pf)
    {
        $pf = trim(filter_var($pf, FILTER_SANITIZE_STRING));
        if (empty($pf)) {
            throw new InternalServerErrorException('No password field provided.');
        }

        $this->passwordField = $pf;
    }