I have the same bug in BP 1.5.1. To fix it I had to go to bp-members-template.php line 309 to replace the code with what @pcwriter posted. Should a ticket be made?
@sidjags I have same problem with BP 1.5 beta 2. It seems that adding to favourites works only on activity page but not on post pages. The Favourite link URL is generated correctly.