Add some little integrity checks to /register