Reject login and signup with error status code