How to switch from SSL to non-SSL form