- adding missing preauthorized login routine
- added app id generation routine helper
Merge commit '933387e' into 20130408-javascript

* commit '933387e':
  - adding missing preauthorized login routine - added app id generation routine helper