After some research and hardwork, I found the problem. The fault was in the file "reset_password.php" which is located in the root folder.

Find

$redirect_url = VSHARE_URL . '/login';
Replace with:

$redirect_url = VSHARE_URL . '/login/';
The only problem was lack of trailing slash at the end of the word "login".

I hope all will get the benefit.

Thanks