Added support for scope parameter and authorization of authenticated clients