Register components after initialising passport
It's not currently possible to add authentication to routes defined in components, because server components are registered before the app is configured.
This leads to an Unknown authentication strategy "bearer"
error if a component tries to use passport.authenticate('bearer', { session: false })
on a route.
This should also fix pubsweet-server#20, if the components are registered straight after passport is initialised.