Requests could can be made with response_type = code

Added check for response_type in config. If not existent, defaults to 'token'.