Fix flash messages not being styled correctly.

Since the session refactor the default flash messages have been broken,
fix that.