Added better logging.
Changed urldecode to rawurldecode.
Merge branch 'web' into core
Changed logon to use the TOTP in the logon token itself. Changed it to be put in the signature variable. Created a logger class.