Prevent redirect misuse on user log in.
Fix for masthead link for biostar mainpage.