optional scope parameter

We had problems with using the Resource Owner Credentials Grant with a oAuth2 Endpoint.

According to the draft there is an optional parameter "scope". 
Not sending the parameter was fine with our Endpoint, but sending it with the value "null" caused the API to search for a scope "null" which did not exist.

So we added a check in order to include the parameter only if necessary.