Fixing log issue in AuthenticationFrameworkWrapper
adding String builder to build query strings