Prevent redirect misuse on user log in.
Fix for masthead link for biostar mainpage.
Fix for masthead link for biostar mainpage.
Merged in dan/galaxy-central-stable-prs/stable (pull request #374)

Prevent redirect misuse on user log in.
Merge stable changes into default.