bugfix for auth.php

- redirects to index if no POST request, to avoid spewing errors