Refactoring of options handling for wsgi-admin.