Mitigate Timing Attacks On Basic RPC Authorization

See

bitcoin/bitcoin#2886
http://rdist.root.org/2010/01/07/timing-independent-array-comparison/