Fixed register activity to disallow blank username/password