fix local login provider