Fixed regression where spring security wasn't being registered.