Try to fix login security bug.

Try to fix #59