Tried to upgrade passport-local to newer version. Didn't help much...