Use a module for loading in external methods

Overriding `ApplicationController` was causing a lot of issues when using other flows such as the auth code flow once this gem is installed, see https://github.com/doorkeeper-gem/doorkeeper-grants_assertion/issues/2 for more details.