Fix path issue with import of local-settings file. Interpret POST data from Login form as JSON.