Change authorization api to take options.
Pass global options through.