first, it gateway put this in the head to prevent gateway pages from being indexed.
<META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">
Try this in your .htaccess file and see if that takes care of it for you
Code remomved by Basti. Breaks logins. php method included in 1.4