Register IOC before the signalR hubs to prevent cryptographic error (http://www.ithedgehog.co.uk/blog/2013/09/17/signalr-cryptographic-issue/)