Fix UnicodeError when givenName or sn Shibboleth Header contains unicode chars like Nicol\xc3\xb2

Added systematic changes by Jason Bau