Added signup API to make it possible to call this via a PHP script.

loksatta.org is a PHP friendly place and the this is the fastest way to
make it working.