registration middleware now calls passport to authenticate on successful registration