the question to ask is 'whether the wrongful conduct of the employee was so closely connected with the acts the employee was authorised to do, that for the purposes of liability of the employer to the third party, it may fairly and properly be regarded as done by the employee while acting in the course of employment'