fix hardcoded port in authentication