Fix login error when password_digest is nil.
Version bump.
Merge branch 'release/0.1.2' into develop