Simplified login for dev and Production

Development now uses nginx / php-fpm. The login process now uses the
same process in production and dev