Bugfix#414: Cannot login by clicking on the login button

This patch fixes the bug that without moving the mouse, user cannot log
in kimchi by clicking on "Log in" button in Chrome as well as Opera.

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>