Login support

![login](https://cloud.githubusercontent.com/assets/1390651/5020794/b890c9de-6a81-11e4-8eaf-877b0103d037.gif)

Fixes [MLHR-1574](https://malhar.atlassian.net/browse/MLHR-1574)
encodeUriComponent? add test?