Removing application.secret and setting values as they should be.