Fixed a bug where collecting from a login didn't display the flash message.