made authenticate param optional

Signed-off-by: Kulamagal Mahendrarajah <kulamagal@qi-interactive.com>