Add logging for success/failed login.

The log can be useful for analysis of usage of horizon.
Merge pull request #35 from linhuacheng/patch-8

Add logging for success/failed login.