Fix problem with authentication strategy