#611 fix wrong expiry time when generating authorized application id
Merge branch 'feature-20141014-new-server' into 20140401-dev-stable