Updated forgot_password()

Added proper error message display. If identity is set to username, and form is submitted without username it used to show " the email field is required". So code is modified to show the proper identity label.
Merge pull request #635 from toton333/2

Updated forgot_password()