Fixing flash message for password controller.
Adjusting flash message classes based on message type.
Merge pull request #477 from weerd/flash-message-bug

Flash message bug