Force model update when login form is submitted. Fixes #36.