Changes for Authentication. 

https://github.com/InMobi/hive/pull/32