Fix authentication

Resolve https://github.com/sensu/uchiwa/issues/116