Update authenticate.php

Fix 'Undefined index: wrongpw' error