Disable php error when login failed.