Changes for Authentication. 

https://github.com/InMobi/hive/pull/32
You can add it as proper debug log, if required.