Avoid mass-assignment related initialization errors of session class