Fix client_credentials logic in validate_grant_type

request.user was never set since grant_type was valid in the
implemented allowed_grant_types method.

This also updates the Client-model in oauth2-test to include
allowed_grant_types to be sure that this fixes the bug.
Fix code style with less ident