do not prototype handler.login
fixed early exit in case of error
removed dead code
Merge branch 'master' of https://github.com/amd/rest3d