Fix #241, correctly merge the API routes in the provider and the console command.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>