Creates cookie after successful signup for auto login