add. handle VersionConflict and require flask-login ver 0.1.2.

Change-Id: I9a1b3d0b0125cfb417feb0ae63af4beab0cd8bb3