Add HTTP set_auth_type() - set type of the server authentification. Don't send additional request to determine server auth type on each user request.