Fixes login redirect for Befriend buttons. See #70