Fix authenticate syntaxis error