Remove flash message on login. Fixes #552.