Added another exception type to handle poorly formatted JWT input

Let ReSharper clean up a few things