This can be done, but will take some hand coding to accomplish and is not supported.
you would need to hand code a function to compare the password stored in the database with the password that is entered, if they are different, then set a session variable to use as a trigger for showing the message.
If you need help doing this, we could help you in a premiere support appointment.