Tests now pass in Firefox and Chrome with security enabled