Fixed unsave casts in getScopes() and getAuthCodeScopes() & Add additional vars to Array in getScopes()