Change login to default middleware.