Added source support in authenticate user api.