Pluggable 2 factor authentication