Login uses webview. refs #2514
Changed constants to dev api. cleaned up. refs #2514