antipatterns:
a) common and I know you hate it too: do not allow paste into the password box
b) less common but extremely enraging: do not allow 2FA pin to be entered from the num pad on an extended keyboard
c) convenience isn't worth it: ditch the "remember me on this computer"
d) epic's two-way connecting of two myhealth systems, one of which requires 2FA and one which doesn't offer it.
counterbalance with a good pattern: ask for the 2FA before prompting for the password