add /tmp to the allowed open basedir paths
nonce failure debug notice
fix some conditionals
add slightly modified swipeidentity 2fa library code
add 2fa module using swipeidentity https://swipeidentity.com/